import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function uploadImageUrl() {
    return sysPath + '/api/v1/console/file/upload'
}

export function getQiniuToken(params) {
	return request({
		url: sysPath + '/api/v1/console/file/upload/token',
		method: 'post',
		params: params
	})
}